package generation.duration;

public class QuantifiedCell {

	private CellSpeed speed;
	private String[] cell;
	private int noteQuantity;
	
	public QuantifiedCell(CellSpeed speed, String[] cell, int noteQuantity) {
		super();
		this.speed = speed;
		this.cell = cell;
		this.setNoteQuantity(noteQuantity);
	}

	public CellSpeed getSpeed() {
		return speed;
	}
	
	public void setSpeed(CellSpeed speed) {
		this.speed = speed;
	}
	
	public String[] getCell() {
		return cell;
	}
	
	public void setCell(String[] cell) {
		this.cell = cell;
	}

	public void setNoteQuantity(int noteQuantity) {
		this.noteQuantity = noteQuantity;
	}

	public int getNoteQuantity() {
		return noteQuantity;
	}

	@Override
	public String toString() {
		String result = "";
		for (int i = 0; i < cell.length; i++) {
			result = result + cell[i] + " ";
		}
		return result.trim();
	}
	
	
	
}
